﻿using Coldairarrow.Entity.Base_leasesystem_employee;
using Coldairarrow.Util;
using System.Collections.Generic;
using System.Threading.Tasks;

namespace Coldairarrow.Business.Base_leasesystem_employee
{
    public interface Ileasesystem_employeeBusiness
    {
        Task<PageResult<leasesystem_employee>> GetDataListAsync(PageInput<ConditionDTO> input);
        Task<leasesystem_employee> GetTheDataAsync(string id);
        /// <summary>
        /// 根据出租人id查询所有人的车辆
        /// </summary>
        /// <param name="id"></param>
        /// <returns></returns>
        Task<object> GetEmpCar(string id);
        Task AddDataAsync(leasesystem_employee data,string userid);
        Task UpdateDataAsync(leasesystem_employee data);
        Task DeleteDataAsync(List<string> ids);
        Task AuthenEmp(List<string> EID,string userid);
        object GetHeightSearch(PageInput<ConditionDTO> input);
    }
}